From 32237671cac48b9f416732e00c71931a67a3f9f0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 29 Dec 2008 07:24:06 +0000 Subject: [PATCH] Doc additions svn path=/trunk/; revision=21995 --- ChangeLog | 4 ++++ gtk/gtkstyle.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/ChangeLog b/ChangeLog index c3c4c30b27..a36c05f03d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-12-28 Matthias Clasen + + * gtk/gtkstyle.c: Doc additions + 2008-12-28 Matthias Clasen * gtk/gtk[hv]scrollbar.c: Document gtk_[hv]scrollbar_new. diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 474ec44cfe..69f3451118 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -1430,6 +1430,21 @@ gtk_draw_focus (GtkStyle *style, GTK_STYLE_GET_CLASS (style)->draw_focus (style, window, GTK_STATE_NORMAL, NULL, NULL, NULL, x, y, width, height); } +/** + * gtk_draw_slider: + * @style: a #GtkStyle + @window: a #GdkWindow + * @state_type: a state + * @shadow_type: a shadow + * @x: the x origin of the rectangle in which to draw a slider + * @y: the y origin of the rectangle in which to draw a slider + * @width: the width of the rectangle in which to draw a slider + * @height: the height of the rectangle in which to draw a slider + * @orientation: the orientation to be used + * + * Draws a slider in the given rectangle on @window using the + * given style and orientation. + */ void gtk_draw_slider (GtkStyle *style, GdkWindow *window, @@ -1509,6 +1524,19 @@ gtk_draw_expander (GtkStyle *style, x, y, expander_style); } +/** + * gtk_draw_layout: + * @style: a #GtkStyle + * @window: a #GdkWindow + * @state_type: a state + * @use_text: whether to use the text or foreground + * graphics context of @style + * @x: x origin + * @y: y origin + * @layout: the layout to draw + * + * Draws a layout on @window using the given parameters. + */ void gtk_draw_layout (GtkStyle *style, GdkWindow *window, -- 2.30.2